package com.example.boot.dlshopclause.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.example.boot.dlshopclause.model.DlShopClause;

public interface DlShopClauseMapper {
	int deleteByPrimaryKey(String id);

	int insert(DlShopClause record);

	int insertSelective(DlShopClause record);

	DlShopClause selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(DlShopClause record);

	int updateByPrimaryKey(DlShopClause record);

	/**
	 * 根据商家ID查找条款
	 * 
	 * @param typegroupId
	 * @return
	 */
	List<DlShopClause> byAdminIdFindClause(@Param("typegroupId")String typegroupId,@Param("adminId")String adminId);

}